package com.lovo.movie.service;

import com.lovo.dto.OrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * Description:
 *
 * @author LiuChengQi
 * @date Created on 2020/12/6
 */

@FeignClient("order")
//@Component
public interface IOrderService {
    @PostMapping
     void update2(@RequestBody OrderDto dto);
    @PostMapping("/three")
     void update3(@RequestBody OrderDto dto);
}
